package cn.smbms.dao.provider;

import cn.smbms.beans.Provider;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @ Author   ：陈慧杰
 * @ Date     ：Created in 14:37 2021/12/14
 */
@Repository("providerDao")
public interface ProviderDao {


    List<Provider> getProviderList();

    List<Provider> getProvider(@Param("queryProCode") String queryProCode,@Param("queryProName") String queryProName);

    int doProvider(Provider provider);

    int deleteProvider(@Param("proid") String proid);

    Provider providerView(@Param("proid") String proid);

    int doProviderModify(Provider provider);
}
